package org.gocom.components.coframe.auth;

import com.eos.system.annotation.Bizlet;

import commonj.sdo.DataObject;

@Bizlet("jointString")
public class jointString {

	/**
	 * @param param
	 * @return
	 */
	@Bizlet("")
	public static String String(DataObject[] param) {
		String roleList = "";
		for (int i = 0; i < param.length; i++) {
			DataObject dataObject = param[i];
			if(i==0){
				roleList =dataObject.getString("ROLE_ID")+",";
			}else if(i==(param.length-1)){
				roleList +=dataObject.getString("ROLE_ID");
			}else{
				roleList +=dataObject.getString("ROLE_ID")+",";
			}
			
		}
		
		return roleList;
	}

}
